package com.xiaomo.gitee.datamanager.mapper;
import com.xiaomo.gitee.datamanager.cache.MybatisRedisCache;
import org.apache.ibatis.annotations.CacheNamespace;
import org.apache.ibatis.annotations.Param;
import java.io.Serializable;
import java.util.List;

import com.xiaomo.gitee.datamanager.entity.ClassInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

@Mapper
@CacheNamespace(implementation = MybatisRedisCache.class,eviction = MybatisRedisCache.class)
public interface ClassInfoMapper extends BaseMapper<ClassInfo> {

    List<ClassInfo> selectAll();

    @Override
    ClassInfo selectById(Serializable id);

    List<ClassInfo> selectByName(@Param("name") String name);
}




